package com.dongdongshop.dao;

import com.dongdongshop.pojo.user.TbAddress;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 用户收货地址
 * @Author Eayon
 * @Date 2020/4/4 21:56
 */
public interface AddressRepostory extends JpaRepository<TbAddress,Long>, JpaSpecificationExecutor<TbAddress> {

    List<TbAddress> findByUserId(String userId);
}
